"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ModelMapManager = void 0;
/**
 * 进程字典,即某些变量想只缓存到服务器游戏进程，但是用户重新登录又存在的数据，关服不存储的数据
 */
class ModelMapManager {
    constructor() {
        this.modelMap = new Map();
    }
    setValue(key, value) {
        this.modelMap.set(key, value);
    }
    getValue(key) {
        return this.modelMap.get(key);
    }
}
exports.ModelMapManager = ModelMapManager;
ModelMapManager.instance = new ModelMapManager();
